module FriendLinksHelper
  def format_flag(flag)
    flag == "pass" ? "<span style=\"color:green\">通过</span>" : "<span style=\"color:red\">未通过</span>"
  end

end
